package com.ruoyi.qynygl.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.qynygl.mapper.TbQynyglSssjcxMapper;
import com.ruoyi.qynygl.domain.TbQynyglSssjcx;
import com.ruoyi.qynygl.service.ITbQynyglSssjcxService;

/**
 * 实时数据查询Service业务层处理
 * 
 * @author XT
 * @date 2023-11-10
 */
@Service
public class TbQynyglSssjcxServiceImpl implements ITbQynyglSssjcxService 
{
    @Autowired
    private TbQynyglSssjcxMapper tbQynyglSssjcxMapper;

    /**
     * 查询实时数据查询
     * 
     * @param id 实时数据查询主键
     * @return 实时数据查询
     */
    @Override
    public TbQynyglSssjcx selectTbQynyglSssjcxById(Long id)
    {
        return tbQynyglSssjcxMapper.selectTbQynyglSssjcxById(id);
    }

    /**
     * 查询实时数据查询列表
     * 
     * @param tbQynyglSssjcx 实时数据查询
     * @return 实时数据查询
     */
    @Override
    public List<TbQynyglSssjcx> selectTbQynyglSssjcxList(TbQynyglSssjcx tbQynyglSssjcx)
    {
        return tbQynyglSssjcxMapper.selectTbQynyglSssjcxList(tbQynyglSssjcx);
    }

    /**
     * 新增实时数据查询
     * 
     * @param tbQynyglSssjcx 实时数据查询
     * @return 结果
     */
    @Override
    public int insertTbQynyglSssjcx(TbQynyglSssjcx tbQynyglSssjcx)
    {
        return tbQynyglSssjcxMapper.insertTbQynyglSssjcx(tbQynyglSssjcx);
    }

    /**
     * 修改实时数据查询
     * 
     * @param tbQynyglSssjcx 实时数据查询
     * @return 结果
     */
    @Override
    public int updateTbQynyglSssjcx(TbQynyglSssjcx tbQynyglSssjcx)
    {
        return tbQynyglSssjcxMapper.updateTbQynyglSssjcx(tbQynyglSssjcx);
    }

    /**
     * 批量删除实时数据查询
     * 
     * @param ids 需要删除的实时数据查询主键
     * @return 结果
     */
    @Override
    public int deleteTbQynyglSssjcxByIds(Long[] ids)
    {
        return tbQynyglSssjcxMapper.deleteTbQynyglSssjcxByIds(ids);
    }

    /**
     * 删除实时数据查询信息
     * 
     * @param id 实时数据查询主键
     * @return 结果
     */
    @Override
    public int deleteTbQynyglSssjcxById(Long id)
    {
        return tbQynyglSssjcxMapper.deleteTbQynyglSssjcxById(id);
    }
}
